package vcp.models;

import vcp.common.AbstractModel;
import client.Message;
import control.SimpleClient;

import db.parking.beans.Subscriber;

/**
 * 
 * Full Subscription Model
 */
public class SubscriptionModelFull  extends AbstractModel{
	
	/**
	 * Add subscriber request
	 * @param bean
	 */
	public void AddFullSubscriber(Subscriber bean) {
							
		
		client = SimpleClient.getInstance();
		client.addPropertyChangeListener(this);
			
			Message msg = new Message(bean,"AddFullSubscriber");
			 try {
					client.sendToServer(msg);
					
			 }
			 catch (Exception ex)
			    {
				 System.out.println(ex.toString()+" Subscription->AddFullSubscriber");
			    }
			 
		
	}
		

}
